package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.CoursePic;
import com.xuecheng.framework.domain.course.TeachplanMedia;
import com.xuecheng.framework.domain.course.ext.CourseInfo;
import com.xuecheng.framework.domain.course.ext.CourseView;
import com.xuecheng.framework.domain.course.request.CourseListRequest;
import com.xuecheng.framework.domain.course.response.CoursePublishResult;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value="图片信息分类模块存储",description = "提供图片与模块绑定上传,删除   操作表:course_Pic")
public interface CourseControlllerApi {
    @ApiOperation("添加课程图片")
    public ResponseResult addCouresePic(String courseId,String pic);

    @ApiOperation("获取课程基础信息")
    public CoursePic findCoursePic(String CourseId);

    @ApiOperation("删除课程图片")
    public ResponseResult deleteCourse (String CourseId);

    @ApiOperation("课程视图所需数据查询")
    public CourseView coureseview(String id);

    @ApiOperation("预览课程详情")
    public CoursePublishResult preview(String id);

    @ApiOperation("课程发布")
    public CoursePublishResult publish(String id);

    @ApiOperation("保存媒资信息")
    public ResponseResult savemedia(TeachplanMedia teachplanMedia);



    @ApiOperation("Day_18@15:保存媒资信息")
    public QueryResponseResult<CourseInfo> findCourseList(int page,
                                                          int size,
                                                          CourseListRequest courseListRequest);
}
